package com.iqiyi.pps.epg.api.utils;

import com.iqiyi.pps.epg.api.entity.CrossData;

/**
 * Created by karkarrotxu on 2016/9/9.
 */
public final class CrossDataLocalPool {
    private CrossDataLocalPool(){};

    private static ThreadLocal<CrossData> threadLocal = new ThreadLocal<CrossData>();

    public static void set(CrossData data){
        threadLocal.set(data);
    }

    public static CrossData get(){
        return threadLocal.get();
    }


}
